/*
 * Copyright (C) 2000-2008 Jens Nixdorf and various contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to
 * deal in the Software without restriction, including without limitation the
 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
 * sell copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies of the Software, its documentation and marketing & publicity
 * materials, and acknowledgment shall be given in the documentation, materials
 * and software packages that this Software was used.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
package org.mopore.jat.timer.creation;

import org.mopore.jat.timer.TimingType;

public class TimingCreateProgress {
	
	private TimingType newCountDownType;
	
	private boolean showInTray;
	
	private boolean showMessageText;
	
	private String messageText;
	
	private String fourDigitText;
	
	private Integer seconds;
	
	private Integer minutes;
	
	private Integer hours;
	
	private Integer days;
	
	
	public TimingCreateProgress() {
		newCountDownType = TimingType.FOUR_DIGITS_COUNT_DOWN;
		
		// default settings
		showMessageText = true;
		messageText = "The time is up!";
		showInTray = true;
		
		// init settings
		fourDigitText = null;
		seconds = null;
		minutes = null;
		hours = null;
		days = null;
	}

	public void setType(TimingType type) {
		this.newCountDownType = type;
	}
	
	public TimingType getNewCountDownType() {
		return newCountDownType;
	}

	public Integer getDays() {
		return days;
	}

	public void setDays(Integer days) {
		this.days = days;
	}

	public String getFourDigitText() {
		return fourDigitText;
	}

	public void setFourDigitText(String fourDigitText) {
		this.fourDigitText = fourDigitText;
	}

	public Integer getHours() {
		return hours;
	}

	public void setHours(Integer hours) {
		this.hours = hours;
	}

	public String getMessageText() {
		return messageText;
	}

	public void setMessageText(String messageText) {
		this.messageText = messageText;
	}

	public Integer getMinutes() {
		return minutes;
	}

	public void setMinutes(Integer minutes) {
		this.minutes = minutes;
	}

	public Integer getSeconds() {
		return seconds;
	}

	public void setSeconds(Integer seconds) {
		this.seconds = seconds;
	}

	public boolean isShowInTray() {
		return showInTray;
	}

	public void setShowInTray(boolean showInTray) {
		this.showInTray = showInTray;
	}

	public void setNewCountDownType(TimingType newCountDownType) {
		this.newCountDownType = newCountDownType;
	}

	public boolean isShowMessageText() {
		return showMessageText;
	}

	public void setShowMessageText( boolean showMessageText ) {
		this.showMessageText = showMessageText;
	}

}
